// import mysql from 'mysql2'
// export const db = mysql.createConnection({
//   host: '39.102.68.200',
//   user: 'root',
//   password: 'zb199311',
//   database: 'test'
// })
import mysql from 'mysql2/promise'

const dbPromise = mysql.createConnection({
  host: '39.102.68.200',
  user: 'root',
  password: 'zb199311',
  database: 'test'
})
export default dbPromise;
